package com.qf.entity;

import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;

@Data
@Accessors(chain = true)
public class R<T> implements Serializable {

    private Integer code = CODE.SUCCESS;
    private String msg;
    private T data;

    public static interface CODE {
        int SUCCESS = 200;
        int ERROR = 300;
        int NOPASS = 500;
    }
}
